home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best of Shareware
/
Best of PC Windows Shareware 1.0 - Wayzata Technology (7111) (1993).iso
/
pc
/
dos
/
networks
/
tpapi
/
nwbindry.doc
< prev
next >
Wrap
Text File
|
1992-02-06
|
8KB
|
160 lines
BINDERY SERVICES
================
AddBinderyObjectToSet (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
PropertyName : PropertyNameType;
MemberName : ObjectNameType;
MemberType : OT_BinderyType) : WORD;
Adds a bindery object to a set property.
-------------------------------------------------------------------------------
ChangeBinderyObjectPassword (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
OldPassword, NewPassword : PasswordType) : WORD;
NOTE : DOES NOT WORK WITH ENCRYPTED PW
Changes the password of a bindery object.
-------------------------------------------------------------------------------
ChangeBinderyObjectSecurity (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
NewObjectSecurity : BYTE) : WORD;
Allows the supervisor to change the security of a bindery object.
-------------------------------------------------------------------------------
ChangePropertySecurity (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
PropertyName : PropertyNameType;
NewPropertySecurity : BYTE) : WORD;
Changes the security of a bindery object's property.
-------------------------------------------------------------------------------
CloseBindery : WORD;
Allows the supervisor to close the bindery.
-------------------------------------------------------------------------------
CreateBinderyObject (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
ObjectFlags, ObjectSecurity : BYTE) : WORD;
Allows the supervisor to create a bindery object.
-------------------------------------------------------------------------------
CreateProperty (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
PropertyName : PropertyNameType;
PropertyFlags, PropertySecurity : BYTE) : WORD;
Adds a property to a bindery object.
-------------------------------------------------------------------------------
DeleteBinderyObject (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType) : WORD;
Allows the supervisor to delete a bindery object.
-------------------------------------------------------------------------------
DeleteBinderyObjectFromSet (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
PropertyName : PropertyNameType;
MemberName : ObjectNameType;
MemberType : OT_BinderyType) : WORD;
Deletes a bindery object from a set property.
-------------------------------------------------------------------------------
DeleteProperty (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
PropertyName : PropertyNameType) : WORD;
Deletes properties from a bindery object.
-------------------------------------------------------------------------------
GetBinderyAccessLevel (VAR SecurityAccessLevel : BYTE;
VAR ObjectID : OT_BinderyID) : WORD;
Returns the requesting workstation's access level to a file server's bindery.
-------------------------------------------------------------------------------
GetBinderyObjectID (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
VAR ObjectID : OT_BinderyID) : WORD;
Returns a bindery object's unique identification number.
-------------------------------------------------------------------------------
GetBinderyObjectName (ObjectID : OT_BinderyID;
VAR BinderyObjectName : ObjectNameType;
VAR BinderyObjectType : OT_BinderyType) : WORD;
Returns the name and type of a bindery object.
-------------------------------------------------------------------------------
IsBinderyObjectInSet (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
PropertyName : PropertyNameType;
MemberName : ObjectNameType;
MemberType : OT_BinderyType) : WORD;
Determines if a bindery object is a member of a set property.
-------------------------------------------------------------------------------
OpenBindery : WORD;
Allows the supervisor to open the bindery.
-------------------------------------------------------------------------------
ReadPropertyValue (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
PropertyName : PropertyNameType; SegmentNumber : WORD;
VAR PropertyValue : PropertyValueType;
VAR MoreSegments, PropertyFlags : BYTE) : WORD;
Returns the value of a bindery object's item or set property.
-------------------------------------------------------------------------------
RenameBinderyObject (BinderyObjectName, NewBinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType) : WORD;
Allows the supervisor to rename a bindery object.
-------------------------------------------------------------------------------
ScanBinderyObject (SearchObjectName : ObjectNameType;
SearchObjectType : OT_BinderyType;
VAR ObjectID : OT_BinderyID;
VAR BinderyObjectName : ObjectNameType;
VAR BinderyObjectType : OT_BinderyType;
VAR ObjectHasProperties, ObjectFlags,
ObjectSecurity : BYTE) : WORD;
NOTE : On initial call ObjectID must contain -1.
Scans the bindery for an object.
-------------------------------------------------------------------------------
ScanBinderyObjectTrusteePaths (ObjectID : OT_BinderyID; VolumeNumber : BYTE;
VAR SequenceNumber : WORD;
VAR TrusteeAccessMask : WORD;
VAR TrusteePathName : PathNameType) : WORD;
NOTE : On initial call SequenceNumber must contain 0.
Returns the directory paths to which an object has trustee rights.
--------------------------------------------------------------------------------
ScanProperty (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
SearchPropertyName : PropertyNameType;
VAR SequenceNumber : LONGINT;
VAR PropertyName : PropertyNameType; VAR PropertyFlags,
PropertySecurity, PropertyHasValue, MoreProperties : BYTE) : WORD;
NOTE : On initial call SequenceNumber must contain -1.
Scans the bindery for an object's properties.
-------------------------------------------------------------------------------
VerifyBinderyObjectPassword (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
Password : PasswordType) : WORD;
NOTE : DOES NOT WORK WITH ENCRYPTED PW
Verifies that the password of a bindery object is valid.
-------------------------------------------------------------------------------
WritePropertyValue (BinderyObjectName : ObjectNameType;
BinderyObjectType : OT_BinderyType;
PropertyName : PropertyNameType; SegmentNumber : WORD;
PropertyValue : PropertyValueType;
MoreSegments : BYTE) : WORD;
Writes a value to an item or set property.
-------------------------------------------------------------------------------